<template>
  <div class="login-phone">
    <el-form label-width="60px">
      <el-form-item label="手机号">
        <el-input v-model="phone.num"></el-input>
      </el-form-item>
      <el-form-item label="验证码">
        <div class="verify-code">
          <el-input v-model="phone.code"></el-input>
          <el-button style="margin-left: 10px" type="primary"
            >获取验证码</el-button
          >
        </div>
      </el-form-item>
    </el-form>
  </div>
</template>

<script lang="ts" setup>
import { reactive } from 'vue';
const phone = reactive({
  num: '',
  code: ''
});
</script>

<style lang="less" scoped>
.login-phone {
  width: 100%;
  .verify-code {
    display: flex;
    justify-content: space-around;
  }
}
</style>
